package com.cdtye.shuoh.domain.device.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cdtye.common.mybatiscore.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 设备Topic数据表
 * @author ZhongWang Wang
 * @date 2022-12-21
 */
@ApiModel("设备Topic数据表")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("IOT_DEVICE_TOPIC")
public class DeviceTopic extends BaseEntity {
    
    @ApiModelProperty(value = "设备标识")
    private String deviceIdentification;

    @ApiModelProperty(value = "类型(0:基础Topic,1:自定义Topic)")
    private String type;

    @ApiModelProperty(value = "topic")
    private String topic;

    @ApiModelProperty(value = "发布者")
    private String publisher;

    @ApiModelProperty(value = "订阅者")
    private String subscriber;

    @ApiModelProperty(value = "备注")
    private String remark;


}